package com.fj.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.fj.mapper.AppCategoryMapper;
import com.fj.entity.AppCategory;
import com.fj.service.AppCategoryService;
@Service
public class AppCategoryServiceImpl implements AppCategoryService{

    @Resource
    private AppCategoryMapper appCategoryMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return appCategoryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AppCategory record) {
        return appCategoryMapper.insert(record);
    }

    @Override
    public int insertSelective(AppCategory record) {
        return appCategoryMapper.insertSelective(record);
    }

    @Override
    public AppCategory selectByPrimaryKey(Long id) {
        return appCategoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AppCategory record) {
        return appCategoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AppCategory record) {
        return appCategoryMapper.updateByPrimaryKey(record);
    }

}
